-
Notifications
You must be signed in to change notification settings - Fork 276
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Allow setting the physical extent size for volume groups #332
base: main
Are you sure you want to change the base?
Conversation
ah okay, rubocop does not like it |
validate do |value| | ||
raise ArgumentError, "#{value} is not a valid extents size" unless %r{^[0-9]+(\.[0-9]+)?}i.match?(value) | ||
end | ||
defaultto 4 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
is that the actual default in vgcreate
? I couldn't find it in the manpage.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
https://linux.die.net/man/8/vgcreate
The default is 4 MiB and it must be at least 1 KiB and a power of 2.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Could we just omit the -s
flag entirely if the parameter isn't specified to truly maintain backwards compatibility?
btw I'm also interested in these updates
No description provided.